package com.itheima.d06_springframework.controller;

import com.itheima.d06_springframework.annotation.Autowired;
import com.itheima.d06_springframework.annotation.Controller;
import com.itheima.d06_springframework.service.StudentService;

/**
 * 负责和客户端进行交互
 */
@Controller
public class StudentController {

    //                                高耦合操作
    @Autowired
    StudentService studentService /*= new StudentService()*/;


    //处理客户登录请求的 方法
    public void login(){
        System.out.println("Controller处理客户登录请求...");
        studentService.checkLogin();
    }

}
